package com.gxa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Contract {

    private Integer contractId;
    private String contractName;
    private Integer contractType;
    private double contractAmount;
    private Integer contractStatus;
    private String partyA;
    private String partyB;
    private String businessLicenseNoA;
    private String businessLicenseNoB;
    private String contractContents;
    private String contractRemarks;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp lastOperationTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
    private Integer operatorEmplId;
    private String createName;

    private Empl empl;


    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }


    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }


    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }


    public double getContractAmount() {
        return contractAmount;
    }

    public void setContractAmount(double contractAmount) {
        this.contractAmount = contractAmount;
    }


    public Integer getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(Integer contractStatus) {
        this.contractStatus = contractStatus;
    }


    public String getPartyA() {
        return partyA;
    }

    public void setPartyA(String partyA) {
        this.partyA = partyA;
    }


    public String getPartyB() {
        return partyB;
    }

    public void setPartyB(String partyB) {
        this.partyB = partyB;
    }


    public String getBusinessLicenseNoA() {
        return businessLicenseNoA;
    }

    public void setBusinessLicenseNoA(String businessLicenseNoA) {
        this.businessLicenseNoA = businessLicenseNoA;
    }


    public String getBusinessLicenseNoB() {
        return businessLicenseNoB;
    }

    public void setBusinessLicenseNoB(String businessLicenseNoB) {
        this.businessLicenseNoB = businessLicenseNoB;
    }


    public String getContractContents() {
        return contractContents;
    }

    public void setContractContents(String contractContents) {
        this.contractContents = contractContents;
    }


    public String getContractRemarks() {
        return contractRemarks;
    }

    public void setContractRemarks(String contractRemarks) {
        this.contractRemarks = contractRemarks;
    }


    public Timestamp getLastOperationTime() {
        return lastOperationTime;
    }

    public void setLastOperationTime(Timestamp lastOperationTime) {
        this.lastOperationTime = lastOperationTime;
    }


    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }


    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }


    public Integer getOperatorEmplId() {
        return operatorEmplId;
    }

    public void setOperatorEmplId(Integer operatorEmplId) {
        this.operatorEmplId = operatorEmplId;
    }


    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Empl getEmpl() {
        return empl;
    }

    public void setEmpl(Empl empl) {
        this.empl = empl;
    }

    @Override
    public String toString() {
        return "Contract{" +
                "contractId=" + contractId +
                ", contractName='" + contractName + '\'' +
                ", contractType=" + contractType +
                ", contractAmount=" + contractAmount +
                ", contractStatus=" + contractStatus +
                ", partyA='" + partyA + '\'' +
                ", partyB='" + partyB + '\'' +
                ", businessLicenseNoA='" + businessLicenseNoA + '\'' +
                ", businessLicenseNoB='" + businessLicenseNoB + '\'' +
                ", contractContents='" + contractContents + '\'' +
                ", contractRemarks='" + contractRemarks + '\'' +
                ", lastOperationTime=" + lastOperationTime +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", operatorEmplId=" + operatorEmplId +
                ", createName='" + createName + '\'' +
                ", empl=" + empl +
                '}';
    }
}
